package com.example.demo.domain.entity;

/**
 * @author Capital Letters
 * @title: ExamSubmission
 * @projectName oj-homework
 * @description: 考试系统的提交记录实体类
 * @date 2022/7/119:25
 */
public class HomeworkSubmission {

    private String className;

    private String submissionJudgeResult;

    private String userName;

    private String problemName;

    private String submissionUsedTime;

    private String submissionUsedMemory;

    private String languageName;

    private String submissionSubmitTime;

    private String submissionCode;


    public String getClassName() {
        return className;
    }

    public void setClassName(String className) {
        this.className = className;
    }

    public String getSubmissionJudgeResult() {
        return submissionJudgeResult;
    }

    public void setSubmissionJudgeResult(String submissionJudgeResult) {
        this.submissionJudgeResult = submissionJudgeResult;
    }

    public String getUserName() {
        return userName;
    }

    public void setUserName(String userName) {
        this.userName = userName;
    }

    public String getProblemName() {
        return problemName;
    }

    public void setProblemName(String problemName) {
        this.problemName = problemName;
    }

    public String getSubmissionUsedTime() {
        return submissionUsedTime;
    }

    public void setSubmissionUsedTime(String submissionUsedTime) {
        this.submissionUsedTime = submissionUsedTime;
    }

    public String getSubmissionUsedMemory() {
        return submissionUsedMemory;
    }

    public void setSubmissionUsedMemory(String submissionUsedMemory) {
        this.submissionUsedMemory = submissionUsedMemory;
    }

    public String getLanguageName() {
        return languageName;
    }

    public void setLanguageName(String languageName) {
        this.languageName = languageName;
    }

    public String getSubmissionSubmitTime() {
        return submissionSubmitTime;
    }

    public void setSubmissionSubmitTime(String submissionSubmitTime) {
        this.submissionSubmitTime = submissionSubmitTime;
    }

    public String getSubmissionCode() {
        return submissionCode;
    }

    public void setSubmissionCode(String submissionCode) {
        this.submissionCode = submissionCode;
    }

    @Override
    public String toString() {
        final StringBuffer sb = new StringBuffer("HomeworkSubmission{");
        sb.append("className='").append(className).append('\'');
        sb.append(", submissionJudgeResult='").append(submissionJudgeResult).append('\'');
        sb.append(", userName='").append(userName).append('\'');
        sb.append(", problemName='").append(problemName).append('\'');
        sb.append(", submissionUsedTime='").append(submissionUsedTime).append('\'');
        sb.append(", submissionUsedMemory='").append(submissionUsedMemory).append('\'');
        sb.append(", languageName='").append(languageName).append('\'');
        sb.append(", submissionSubmitTime='").append(submissionSubmitTime).append('\'');
        sb.append(", submissionCode='").append(submissionCode).append('\'');
        sb.append('}');
        return sb.toString();
    }
}
